<div class="wrap" style="width: 420px;height: auto;padding-bottom: 10px;">
	<h2>Easter Calendar App</h2>
	<h4>Easter Calendar Management system</h4>
	<?php if($view->error){?>
	<div class="alert alert-error"><?php echo $view->error;?></div>
	<?php } ?>
	<form class="formstylevalidate" action="" autocomplete="off" method="post" id="signupform">
		<div class="login">
			<div class="email">
				<label for="name">Name</label>
				<div class="email-input">
					<div class="input-prepend">
						<input class="required" style="width:216px !important" type="text" id="name" name="data[name]" value="<?php echo @$view->data['name'];?>">                                                
					</div>
				</div>
			</div>
			
			<div class="email">
				<label for="username">Username</label>
				<div class="email-input">
					<div class="input-prepend">
						<input class="required" style="width:216px !important" type="text" id="username" name="data[username]" value="<?php echo @$view->data['username'];?>">
					</div>
				</div>
			</div>
			
			<div class="email">
				<label for="email">Email</label>
				<div class="email-input">
					<div class="input-prepend">
						<span class="add-on"><i class="icon-envelope"></i></span><input
							 class="required email" type="text" id="email" name="data[email]" value="<?php echo @$view->data['email'];?>">
					</div>
				</div>
			</div>
			<div class="pw">
				<label for="pw">Password</label>
				<div class="pw-input">
					<div class="input-prepend">
						<span class="add-on"><i class="icon-lock"></i></span>
                                                <input class="required" type="password" id="okpassword" name="data[password]" value="<?php echo @$view->data['password'];?>">
					</div>
				</div>
			</div>
			<div class="pw">
				<label for="pw" style="width: 110px;">Retype password</label>
				<div class="pw-input">
					<div class="input-prepend">
						<span class="add-on"><i class="icon-lock"></i></span>
                                                <input class="required" equalTo="#okpassword" type="password" name="data[retypepassword]" value="<?php echo @$view->data['retypepassword'];?>">
					</div>
				</div>
			</div>
			<br/>
			<div class="tos">
				<label class="checkbox"> <input type="checkbox" value="1"
					name="data[tos]" <?php if(isset($view->data['tos'])){?>checked="checked"<?php }?>> Accept terms of services
				</label>
			</div>
		</div>
		<div class="submit">	
			<a href="?action=login">Login to exist account</a>		
			<button class="btn btn-red5">Sign up</button>
		</div>
	</form>
</div>